package com.cn.lf.service;

import com.cn.lf.fullback.Fullback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * Created by liufeng on 2018/6/15
 */
@FeignClient(value = "service-member",fallback = Fullback.class) // 你要调用的微服务
public interface MemberFeignService {

     @RequestMapping("/getMemberAll") //你要调用的controller method
     public List<String> getToMemberAll();

}
